// MyMesh.cs
#region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Graphics;
using ImagesMath;
#endregion

namespace Graphics3D
{

    public class XNAMesh : Mesh
    {

        protected Model m_Model = null;
        public Model Model
        {
            get { return m_Model; }
            //set { m_Model = value; }
        }

        protected string m_MeshName = "";
        public string MeshName
        {
            get { return m_MeshName; }
            set { m_MeshName = value; }
        }

        public XNAMesh() : base()
        {
        }

        public XNAMesh(XNARenderer renderer,string path)
            : base()
        {
            m_Model = renderer.Content.Load<Model>(path);
        }
       
    }
}
